package com.frogs.ucenter.v1.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserMessageDmReceiverDao;
import com.frogs.ucenter.entity.UserMessageDmReceiver;
import com.frogs.ucenter.v1.service.UserMessageDmReceiverService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userMessageDmReceiverService")
public class UserMessageDmReceiverServiceImpl extends BaseServiceImpl<UserMessageDmReceiver> implements UserMessageDmReceiverService {
    @Autowired
    private UserMessageDmReceiverDao userMessageDmReceiverDao;

    public UserMessageDmReceiverServiceImpl() {
        super();
    }

    public UserMessageDmReceiverDao getUserMessageDmReceiverDao() {
        return userMessageDmReceiverDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserMessageDmReceiver> getBaseDao() {
        return userMessageDmReceiverDao;
    }

    public void setUserMessageDmReceiverDao(UserMessageDmReceiverDao userMessageDmReceiverDao) {
        this.userMessageDmReceiverDao = userMessageDmReceiverDao;
    }
}